// Copyright (C) 2024 wlly-lzh
// Created by wlly-lzh on 24-4-6
// 用于公共调用的链表
#ifndef _LINKDELIST_C
#define _LINKDELIST_C

#include  <stdlib.h>

typedef struct LinkedList LinkedList;
struct LinkedList {
	void *Data;
	struct LinkedList *Next;
};
void Clear_LinkedList(LinkedList *List){
	LinkedList *Del=List;
	while(List != NULL){
		List=List->Next;
		free(Del);
		Del=List;
	}
}
#endif // _LINKDELIST_C
